#!ipxe

# Parrot Security Linux
# https://www.parrotsec.org

goto ${menu}

:parrotsec
set os {{ releases.parrotsec.name }}
menu ${os} Installers
item --gap Official Releases
{% for item in releases.parrotsec.versions %}
item {{ item.code_name }} ${space} ${os} {{ item.name }}
{% endfor %}
choose parrotsec_version || goto parrotsec_exit
goto parrotsec_boot

:parrotsec_boot
imgfree
set url ${live_endpoint}{{ endpoints['parrot-net'].path }}
kernel ${url}vmlinuz vga=788 initrd=initrd ${cmdline}
initrd ${url}initrd
boot
goto parrotsec_exit

:parrotsec_exit
clear menu
exit 0
